package com.quxuecx.springcloud.service;

import com.quxuecx.springcloud.entities.Payment;

import org.apache.ibatis.annotations.Param;

/**
 * @author: shaofeer
 * <p>
 * @qq: 337081267
 * <p>
 * @CSDN: http://blog.csdn.net/pyfysf
 * <p>
 * @blog: http://wintp.top
 * <p>
 * @email: shaofeer@163.com
 * <p>
 * @time: 2020/6/28
 */
public interface IPaymentService {
    /**
     * 保存
     *
     * @param payment
     * @return
     */
    int save(Payment payment);

    /**
     * 根据id 获取
     *
     * @param id
     * @return
     */
    Payment getById(Long id);
}
